//
//  ImportResultView.swift
//  CrseAsst
//
//  Created by 申铭 on 2024/3/4.
//

import SwiftUI

struct ImportResultView: View {
    let results: Array<ImportResult>
    
    var body: some View {
        List {
            ForEach(results, id: \.content) { result in
                Text(result.content ?? "")
            }
        }
        .listStyle(.plain)
    }
}

#Preview {
    ImportResultView(results: [])
}
